Skip to content

Conversation

@donald
Copy link
Collaborator

@donald donald commented Jan 15, 2024

This script uses a file /var/run/updatecheck.reboot-triggered to prevent boot loops on pdist failures when pdist+reboot is required. However, when the system disk is full, the creation of that file might fail.

Check for reasonable free space before attempting pdist and create the flag file before pdist is started.

Fix #361

This script uses a file `/var/run/updatecheck.reboot-triggered` to
prevent boot loops on pdist failures when pdist+reboot is required.
However, when the system disk is full, the creation of that file might
fail.

Check for reasonable free space before attempting pdist and create the
flag file before pdist is started.
@donald donald merged commit 292efde into master Jan 15, 2024
Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pdist-bootcheck: Boot loop possible, when system disk full

2 participants